package com.example.cloud.model.business.medical;


import com.example.cloud.model.common.CommonModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * Created by ygl on 2017/4/9.
 * 过敏源检查
 */
@Entity(name = "allergen")
@Data
@EqualsAndHashCode(callSuper = false)
public class Allergen extends CommonModel {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
    // 患者
    @Column(name = "patient_id")
    private Long patientId;
    // 主诉
    @Column(name = "complaint_id")
    private Long complaintId;
    // 皮肤点刺实验
    @Column(name = "skin_prick_experiment")
    private String skinPrickExperiment;
    // 血清IgE实验
    @Column(name = "serum_lge_experiment")
    private String serumLgeExperiment;
    // 补充内容
    @Column(name = "supplement_content")
    private String supplementContent;
    // 实验员
    @Column(name = "experimenter")
    private String experimenter;
    // 诊断医生
    @Column(name = "doctor")
    private String doctor;
}
